﻿#set($id = $product.Id)
#set($uri = $product.Uri)
#set($escapedName = $product.HtmlEscapedName)
#set($evaluationRate = $product.EvaluationRate)
#set($directBuy = $product.BottomBuyAsynchronous)
#set($productQty = $product.AmountInCart)
<div class="vitrine">
$directBuy
$productQty
<div class="wrapper">
    <div class="check">
        <img src="/Control/ArquivoExibir.aspx?NomeArquivo=check.png" />
    </div>
    <div class="add">
		<img title="Adicionar produto ao carrinho" src="/Control/ArquivoExibir.aspx?NomeArquivo=img_add_icon.png" alt="Add Item" />
	</div>
    <div class="quick-view">
        $product.QuickView
    </div>
    <div class="photo">
		<a  href="$uri" title="$product.Name">
			$product.GetImageTag(30)
		</a>
	</div>
    <h3><a href="$uri" title="$product.Name">$product.Name</a></h3>
    #if ($product.IsInStock)
    <p class="preco">
        #if ($product.HasBestPrice)
            <em class="valor-de">De: <strong>$product.ListPrice</strong></em>
        #end
        <em class="valor-por">Por: <strong>$product.BestPrice</strong></em>
        <br />
        <em class="valor-dividido">
        #if ($product.NumbersOfInstallment > 1)
                   <strong> ${product.NumbersOfInstallment}x</strong> de <strong>$product.InstallmentValue</strong>
        #else
                à vista
        #end
        </em>
    </p>
    <p class="desc">$product.DiscountHightLight</p>
    #end
    <p class="category">$product.BrandLink</p>
    #if ($product.IsInStock)
        <span class="instock">
        
        </span>
    #else
        <span class="outstock">
           Produto Indisponível
        </span>
    #end
</div>
</div>